﻿@using xConnected.Common.ExpertProfile
<div class="modal hide fade" id="AvailabilityStatusProfileDialog" style="display: none;" >
    <div class="modal-header">
    </div>
    <div class="modal-body" data-bind="with: workingProfileBuffer">
        <div class="row">
            <div class="control-group span6">
                <label class="control-label" for="AvailabilityStatus"><strong>@Resources.AvailabilityStatus</strong></label>
                <div class="controls">
                    <select class="span4" data-bind="options: $root.profile.availabilityStatuses, optionsText: 'Description',optionsValue: 'Value', value: AvailabilityStatus"></select>
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <a href="#" class="btn btn-small btn-info" data-bind="click: function() { $root.profile.okAvailabilityStatus();}"><strong>@Resources.Ok</strong></a>
        <a href="#" class="btn btn-small" data-bind="click: function() { $root.profile.cancelAvailabilityStatus();}"><strong>@Resources.Cancel</strong></a>
    </div>
</div>